package org.dce.screencapturer.util;

public class NumberUtils {

	public static int max(int ... numbers){
		
		int max = Integer.MIN_VALUE;
		
		for (int number:numbers){
			max = Math.max(max, number);
		}
		
		return max;
	}

	public static int min(int ... numbers){
		
		int min = Integer.MAX_VALUE;
		
		for (int number:numbers){
			min = Math.max(min, number);
		}
		
		return min;
	}
}
